public class CarTest{
    public static void main(String[] args){
        //创建一个汽车对象
        Car c = new Car();
        c.setColor("white");
        c.setBrand("奔驰");
        c.setPrice(1000000.0);
        System.out.println("汽车的颜色是"+c.getColor());
        System.out.println("汽车的品牌是"+c.getBrand());
        System.out.println("汽车的价格是"+c.getPrice());
        c.show();
        Car c1 = new Car("white","奔驰",1000000.0);
        c1.show();
        c1.goAhend();
        c1.goBack();
        c1.turn();
    }
}